package com.woniuxy.threeprojcet.end_water_project_admin.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 维修表
 * </p>
 *
 * @author Lucas
 * @since 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wn_repair")
public class Repair implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 维修表id
     */
    @TableId(value = "repair_id", type = IdType.AUTO)
    private Integer repairId;

    /**
     * 水表di
     */
    private Integer waterMeterId;

    /**
     * 维修员工id
     */
    private Integer employeeId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 报修时间
     */
    private Date submitTime;

    /**
     * 实际维修时间
     */
    private Date repairTime;

    /**
     * 故障原因
     */
    private String reason;

    /**
     * 记录新增时间
     */
    private Date rawAddTime;

    /**
     * 记录修改时间
     */
    private Date rawUpdateTime;

//维修状态
    private int state;
}
